package cn.pomit.springbootwork.consulfeign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cn.pomit.springbootwork.consulfeign.model.ResultModel;

@FeignClient("consulServer")
public interface IpInfoService {
	@RequestMapping(method = RequestMethod.GET, value = "/consulServer/ip", consumes = "application/json")
	public ResultModel getIpInfo();
}

